//地理信息数据
export const state = () => ({
  position: {}
});

//更改state
export const mutations = {
  setPosition(state, val) {
    state.position = val;
  }
}

//action专门用于commit
export const actions = {
  setPosition({
    commit
  }, position) {
    commit('setPosition', position);
  }
}
